
<!--Nội dung cột bên phải -->
<div class="contentRight-2">
    <div class="boxShadowRight-3">
        <div class="boxRightTop-3">
        </div>
        <div class="boxRighMiddle-3" style="min-height: 630px;">
            <div class="lineTitleRight-1">
                <div class="book_bg">              
                    <span>
                        Cập nhật thông tin cá nhân
                    </span>
                </div>
                <div id="MainContent_ctl07_divContent" class="" style="margin-left: 80px;">
                    <?php
                    $form = $this->form;
                    $form->setAttribute('action', $this->url('personal/process', array('action' => 'updateInfoReader', 'id' => $userID)));
                    echo $this->form()->openTag($form);
//                    echo $this->formHidden($form->get('userID'));
                    ?>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                            <span id="MainContent_ctl07_Label1">Ngày sinh:</span>
                        </div>
                        <div class="fl">
                            <?php echo $this->formInput($form->get('birthday')); ?>
                            <script>
                                $("#datepicker").datepicker({
                                    nextText: '&raquo;',
                                    prevText: '&laquo;',
                                    showAnim: 'slideDown',
                                    dateFormat: 'dd-mm-yy'
                                });
                            </script>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                             <?php echo $this->formLabel($form->get('sex')); ?>
                        </div>
                        <div class="fl" >
                            <td>
                                <?php echo $this->formSelect($form->get('sex')); ?>
                            </td>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('email')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formInput($form->get('email')); ?>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('phoneNumber')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formInput($form->get('phoneNumber')); ?>
                        </div>
                    </div>
                     <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('residentAddress')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formInput($form->get('residentAddress')); ?>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('nativePlace')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formInput($form->get('nativePlace')); ?>
                        </div>
                    </div>
                     <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('description')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formTextarea($form->get('description')); ?>
                        </div>
                    </div>
                    
                     <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                           <?php echo $this->formLabel($form->get('profilePhoto')); ?>
                        </div>
                        <div class="fl">
                            <?php  echo $this->formFile($form->get('profilePhoto')); ?>
                        </div>
                    </div>
                    <div class="searchRow" style="padding-bottom: 15px">
                        <div class="labelSearch">
                            &nbsp;</div>
                        <div class="fl" style="padding-left: 6px; color: red;">
                            <?php if (isset($myMessage)): ?>
                                <?php
                                foreach ($myMessage as $key => $message) {
                                    if ($message == 'changePassOK') {
                                        echo "Đổi mật khẩu thành công";
                                    } else if ($message == 'changePassError') {
                                        echo "Đã có lỗi xảy ra. Đổi mật khẩu không thành công";
                                    }
                                }
                                ?>
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="searchRow" style="padding-bottom: 15px">
                        <div class="labelSearch">
                            &nbsp;</div>
                        <div class="fl" style="padding-left: 6px">
                            <span class="btnGray">
                                <?php echo $this->formInput($form->get('updateInfoReader')); ?>
                            </span>
                        </div>
                    </div>
                    <?php echo $this->form()->closeTag($form); ?>
                </div>
            </div>
            <div style="margin: 40px 8px 8px 8px;display: block;">
            </div>
        </div>
        <div class="boxRighBottom-3">

        </div>
    </div>
</div>